﻿using System.Collections.Generic;

namespace Interactive.Utility.Collections
{
    /// <summary>
	/// 有限的枚举项，继承IEnumerable{T}接口并提供Count属性
	/// </summary>
	/// <typeparam name="T"></typeparam>
	public interface ILimitedEnumerable<T> : IEnumerable<T>
	{
		/// <summary>
		/// 待枚举的项数
		/// </summary>
		int Count { get; }
	}
}